package iosr11.Service;

import iosr11.data.ProjectGroup;
import iosr11.data.ProjectSubject;

import java.util.List;

public interface ProjectSubjectService extends Service{

	public ProjectSubject getSubject(String title);
	public ProjectSubject getSubject(ProjectGroup group);
	public ProjectSubject getProjectSubject(String id);
	public boolean addProjectSubject(ProjectSubject subject);
	public boolean deleteProjectSubject(ProjectSubject subject);
	public List<ProjectSubject> getAll();
	public List<ProjectSubject> getFreeSubjects();
	public boolean isSubjectFree(ProjectSubject subject);
	
}
